﻿using System;
using TSites.Service.Entities;
using System.Collections.Generic;

namespace TSites.Service.Interfaces
{
	public interface ICompanyService
	{
		Company GetCompany(string id);
		Company[] GetList(string comName, int language);
		
		int Insert(Company entity);
		int Update(Company entity);
		int Delete(string id);

		List<string> GetWorkSheets(string filePath);
		int ImportExcel(string filePath, string workSheetName);

		void ExportWordTemplate(string templatePath, Dictionary<string, object> templateParams,
			string filePath = null, bool isVisible = false, string printerName = null);

		bool CheckCompanyName(string vnComName, string enComName, string Id = null);
	}
}
